<template>
  <div class="section-title">
    <div class="title-text">{{ title }}</div>
    <div class="title-line"></div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      required: true
    }
  }
}
</script>

<style scoped>
.section-title {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.title-text {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-right: 15px;
  white-space: nowrap;
}

.title-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 216, 222, 0.8), transparent);
}
</style>